import { MyRequestOptions,HttpResponse } from './type';
import request from '@/utils/api/request';

export const productPageProduct = (
  option: MyRequestOptions = {}
): Promise<HttpResponse> => {
  option.url = `/app/life/pageLifeProducts`;
  return request.get(option);
};

export const listLastLogisticsMsg = (
  option: MyRequestOptions = {}
): Promise<HttpResponse> => {
  option.url = `/app/store/listLastLogisticsMsg`;
  return request.get(option);
};



export const supportProduct = (
  option: MyRequestOptions = {}
): Promise<HttpResponse> => {
  option.url = `/app/store/product/supportProduct`;
  return request.get(option);
};